package com.example.librarymanagementproject2.service;

import com.example.librarymanagementproject2.model.entity.Book;
import com.example.librarymanagementproject2.model.entity.BookCategory;
import com.example.librarymanagementproject2.model.entity.BorrowRecord;

/**
 * @InterfaceName BookService
 * @Description TODO
 * @Author Kx
 * @Date 2025/10/27 15:28
 * @Version 1.0
 */
public interface BookService {
    /**
     * @author: kx
     * @date: 2025/10/27 15:56
     * @param category : 图书分类信息
     * @description: 插入图书分类信息
    */
    void insertBookCategory(BookCategory category);

    /**
     * @author: kx
     * @date: 2025/10/27 19:11
     * @param book : 图书信息
     * @description: 添加图书信息
    */
    void insertBook(Book book);


    /**
     * @author: kx
     * @date: 2025/10/28 16:13
     * @param book : 图书信息
     * @description: 修改图书状态
    */
    void updateBookStatus(Book book);
}
